package com.bf.electroplating.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 园区公共雨排口监控设备表
 * </p>
 *
 * @author gzd
 * @since 2025-10-14
 */
@Getter
@Setter
@TableName("park_outlet_monitoring")
@Schema( description = "园区公共雨排口监控设备表")
public class ParkOutletMonitoring implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("OUTLET_ID")
    private String outletId;

    @Schema( description ="归属单位")
    @TableField("AFFILIATED_UNIT")
    private String affiliatedUnit;

    @Schema( description ="排口名称")
    @TableField("OUTLET_NAME")
    private String outletName;

    @Schema( description ="排口简称")
    @TableField("OUTLET_ABBREVIATION")
    private String outletAbbreviation;

    @Schema( description ="排口位置")
    @TableField("OUTLET_LOCATION")
    private String outletLocation;

    @Schema( description ="设备名称")
    @TableField("DEVICE_NAME")
    private String deviceName;

    @Schema( description ="MN代码")
    @TableField("MN_CODE")
    private String mnCode;

    @Schema( description ="监测指标")
    @TableField("MONITORING_FACTOR")
    private String monitoringFactor;

    @Schema( description ="监测指标编码")
    @TableField("MONITORING_FACTOR_CODE")
    private String monitoringFactorCode;

    @Schema( description ="设备指标值（最新值）")
    @TableField("VALUE_NEW")
    private BigDecimal valueNew;

    @Schema( description ="监测时间")
    @TableField("MONITORING_TIME")
    private LocalDateTime monitoringTime;

    @Schema( description ="指标单位")
    @TableField("UNIT")
    private String unit;

    @Schema( description ="设备状态（1在线，0离线）")
    @TableField("STATUS")
    private String status;

    @Schema( description ="接入厂商")
    @TableField("ACCESS_COMPANY")
    private String accessCompany;

    @Schema( description ="创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @Schema( description ="创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @Schema( description ="修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @Schema( description ="修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @Schema( description ="逻辑删除")
    @TableField("DEL_FLAG")
    private String delFlag;
}
